Skip to content

fix(material-experimental/mdc-snack-bar): increase the specificity of styles targeting the action buttons #22959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 18, 2021

Conversation

mmalerba
Copy link
Contributor

Currently the order of the button theme vs the snackbar theme matters,
this will make the snackbar theme always take precedence

styles targeting the action buttons.

Currently the order of the button theme vs the snackbar theme matters,
this will make the snackbar theme always take precedence
@mmalerba mmalerba added P2 The issue is important to a large percentage of users, with a workaround G This is is related to a Google internal issue target: patch This PR is targeted for the next patch release labels Jun 11, 2021
@mmalerba mmalerba requested a review from andrewseguin as a code owner June 11, 2021 13:52
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jun 11, 2021
@andrewseguin
Copy link
Contributor

lol four classes - I feel for the dev who tries to override that style in their app

@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Jun 11, 2021
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmalerba mmalerba force-pushed the snackbar-specificity branch from bf2cd37 to efe8666 Compare June 11, 2021 15:52
@mmalerba mmalerba merged commit 2c57c58 into angular:master Jun 18, 2021
mmalerba added a commit that referenced this pull request Jun 18, 2021
… styles targeting the action buttons (#22959)

* fix(material-experimental/mdc-snack-bar): increase the specificity of
styles targeting the action buttons.

Currently the order of the button theme vs the snackbar theme matters,
this will make the snackbar theme always take precedence

* fix(material-experimental/mdc-snack-bar): increase the specificity of styles targeting the action buttons.

(cherry picked from commit 2c57c58)
mmalerba added a commit that referenced this pull request Jun 18, 2021
… styles targeting the action buttons (#22959)

* fix(material-experimental/mdc-snack-bar): increase the specificity of
styles targeting the action buttons.

Currently the order of the button theme vs the snackbar theme matters,
this will make the snackbar theme always take precedence

* fix(material-experimental/mdc-snack-bar): increase the specificity of styles targeting the action buttons.

(cherry picked from commit 2c57c58)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement G This is is related to a Google internal issue P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants